package com.lz.virtualthread.project.api.service;

import com.lz.virtualthread.common.domain.ResponseVo;
import com.lz.virtualthread.common.utils.DateUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 * @author XPP
 */
@Service
public class ApiService {

    protected static final Logger logger = LoggerFactory.getLogger(ApiService.class);

    /**
     *
     */
    public ResponseVo deal() throws InterruptedException {
        Thread.sleep(3000);
        return ResponseVo.success(DateUtils.getCurr_YYYY_MM_DD_HH_MM_SS_SSS());
    }


}
